<?	session_start(); 
	if(isset($_SESSION['id']) & isset($_SESSION['pass']))
	{
	require("koneksi.php");
	$kode=$_GET['kode'];
	$query=mysql_query("delete from informasi where kode_inf='$kode'");
	
	if($query)
	{
		echo "Data berhasil dihapus<br>";
		echo "<a href='menu_informasi.php'>Back To Menu Informasi</a><br>";
		echo "<a href='menu_admin.php'>Back To Menu Admin<br></a>";
	}
	else
	{
		echo "Data gagal dihapus<br>";
		echo "<a href='menu_informasi.php'>Back To Menu Informasi</a><br>";
		echo "<a href='menu_admin.php'>Back To Menu Admin</a>";
	}
	}
	else
	header("Location:index.php");
?>	